package org.correct.model;

import java.util.Calendar;

public class HtmlItem {
	public String html = null;
	public String encoding = null;
	public int id = -1;
	public Calendar time = null;
	
	public HtmlItem() {
		
	}
	
	public HtmlItem(String html) {
		this.html = html;
		this.encoding = "gbk";
	}
	
	public HtmlItem(String html, String encoding) {
		this.html = html;
		this.encoding = encoding;
	}
	
	public HtmlItem(int id, String html, String encoding) {
		this.id = id;
		this.html = html;
		this.encoding = encoding;
	}
	
	public HtmlItem(int id, String encoding, Calendar time) {
		this.id = id;
		this.encoding = encoding;
		this.time = time;
		this.html = null;
	}
	
	public HtmlItem(int id, String html, String encoding, Calendar time) {
		this.id = id;
		this.html = html;
		this.encoding = encoding;
		this.time = time;
	}
}
